package com.qst.mapper;

import com.qst.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassNmae: EmployeeMapper
 * @Author: 邓嘉顺
 * @Description:
 */
public interface EmployeeMapper {

    List<Employee> queryAllEmployee(@Param("employeeAccount") String employeeAccount, @Param("employeeName") String employeeName);

    int getAllCount();

    Integer EditEmployee(@Param("id") Integer id, @Param("field") String field, @Param("value") String value);

    int addEmployee(Employee employee);

    int delBatch(Integer[] ids);
}
